Component({
  /**
   * 组件的属性列表
   */
  properties: {
    parent_url: String,
    keyword: String
  },

  /**
   * 组件的初始数据
   */
  data: {
    focus: false
  },

  /**
   * 组件的方法列表
   */
  methods: {
    searchNavigateBack: function() {
      wx.navigateBack({})
    },
    goodsCategroy: function() {

    },
    goSearch: function() {
      this.setData({ focus: false})
      wx.navigateTo({
        url: '../../pages/search_new/search_new',
      })
    }
  }
})